package edu.cornell.cs4740.postag.parsing;

public class WordContainer {
  private String word;
  private String pos; // part-of-speech
  
  public WordContainer(String word, String pos) {
    this.word = word;
    this.pos = pos;
  }
  
  public String getWord() {
    return word;
  }
  
  public void setPos(String pos) {
    this.pos = pos;
  }
  
  public String getPos() {
    return pos;
  }
  
  /**
   * @override
   */
  public String toString() {
    return pos + " " + word;
  }
}
